package com.vito.framework.system.security.service;

import com.vito.framework.base.exception.CommonException;
import com.vito.framework.base.service.BaseService;
import com.vito.framework.system.menu.model.MenuBean;
import com.vito.framework.system.security.model.UserSession;
import com.vito.framework.system.user.model.UserBean;

import java.util.List;
import java.util.Map;

public interface SecurityService extends BaseService<UserSession> {
	

	UserBean login(Map<String, Object> paramMap)throws CommonException;
	
	List<MenuBean> listMenuByUserId(String userId) throws CommonException;
	

}
